-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Don't create .msi installer for gnullvm hosts #141818
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Don't create .msi installer for gnullvm hosts #141818
Conversation
If that's the case, then disabling it for non-Windows-hosts seems fine I think? |
Well, it disables creation of .msi installers that are officially provided by Rust. So I'm not sure whether it should be a more conscious decision (via the config) or the implication of using non-Windows host is fine. |
I think there should be a config, it sounds surprising that you suddenly get different results with the same config. |
If the host was not Windows-based before, the build would fail (good luck running WIX or .exe files otherwise). Now it would be silently skipped. I don't think that we need a config for this, but the build should fail instead. So if target is Windows, but the host isn't, bootstrap should bail out. |
That would mean #140772 is a no-go in the current form. |
Hmm, I don't see why that should be the case. Do the |
|
Sorry, I'm not sure if I understand that 😅 If the |
In the end they should, to be consistent with other hosts at https://forge.rust-lang.org/infra/other-installation-methods.html |
I'm fine with that, but what I didn't understand is the "for their first release" part. What changes after the first release? How will we be able to create the MSI installers from Linux hosts? |
Sorry for not giving the full context here, I thought I had included it here in the previous comments, but it must have been a different issue/PR/channel. Let me fix that. |
Oh, I see, ok, thanks for the explanation. In that case I'm fine with that, although I would appreciate if the check was only scoped to the |
9f22e83
to
26415b3
Compare
26415b3
to
da90ea7
Compare
This comment has been minimized.
This comment has been minimized.
@Kobzol sorry for the delay, I've been too busy recently. I think this should be fine to go now, once a new Rust version with gnullvm hosts is up, I'll revert this PR. |
WIX toolset works only on Windows hosts and we need to boostrap this host.
da90ea7
to
4f0b60a
Compare
Ok, thanks! @bors r+ rollup |
Rollup of 16 pull requests Successful merges: - #134442 (Specify the behavior of `file!`) - #140372 (Exhaustively handle parsed attributes in CheckAttr) - #140766 (Stabilize keylocker) - #141642 (Note the version and PR of removed features when using it) - #141818 (Don't create .msi installer for gnullvm hosts) - #141909 (Add central execution context to bootstrap) - #141992 (use `#[naked]` for `__rust_probestack`) - #142101 (core::ptr: deduplicate more method docs) - #142102 (docs: Small clarification on the usage of read_to_string and read_to_end trait methods) - #142124 (Allow transmute casts in pre-runtime-MIR) - #142240 (deduplicate the rest of AST walker functions) - #142258 (platform-support.md: Mention specific Linux kernel version or later) - #142262 (Mark `core::slice::memchr` as `#[doc(hidden)]`) - #142271 (compiler: fn ptrs should hit different lints based on ABI) - #142275 (rustdoc: Refractor `clean_ty_generics`) - #142288 (const_eval: fix some outdated comments) r? `@ghost` `@rustbot` modify labels: rollup
Rollup merge of #141818 - mati865:dont-create-msi-from-non-windows, r=Kobzol Don't create .msi installer for gnullvm hosts WIX toolset works only on Windows hosts, but gnullvm doesn't have host toolchain yet. To get out of this loop, we will create a single release without MSI installer. Split out from: #140772
WIX toolset works only on Windows hosts, but gnullvm doesn't have host toolchain yet. To get out of this loop, we will create a single release without MSI installer.
Split out from: #140772